package com.ideal.zqinfo.main;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;

import com.ideal.trsdata.service.OrgGetService;
import com.ideal.zqinfo.main.MainApp;
import com.ideal.trsdata.service.ImportTrsServiceForPorv;
import com.ideal.trsdata.util.TrsDataConfig;



public class MainApp implements Runnable {
	
	public MainApp() throws Exception {
		ApplicationContext ctx=new FileSystemXmlApplicationContext("conf/bean.xml");
        OrgGetService orgGet = (OrgGetService)ctx.getBean("orgGetService");
		ImportTrsServiceForPorv mpprov=(ImportTrsServiceForPorv)ctx.getBean("importTrsServiceForProv");
	}
	
	
	public static void main(String[] args) throws Exception {
		MainApp app = new MainApp();
		Thread t = new Thread(app);
		t.start();
	}
	
	
	public void run() {
		TrsDataConfig.log.info("南方22省Trs全量同步程序启动....");
	}
}
